package com.kcsoft.welcome.mapper;

import com.kcsoft.welcome.pojo.Member;
import org.apache.ibatis.annotations.*;


import java.util.List;

@Mapper
public interface MemberMapper {

    void add(Member member);

    @Select("select * from member")
    List<Member> list();

    void update(Member member);

    @Delete("delete from member where id = #{id}")
    void delete(Integer id);
}
